package com.volcreate.week2_3.no5;

/**
 * @author zxc
 * @date 2020/9/21
 */
public class Main {
    public Main() {
        System.out.println("构造方法一被调用了");
    }

    public Main(int x) {
        this();
        System.out.println("构造方法二被调用了");
    }

    public Main(boolean b) {
        this(1);
        System.out.println("构造方法三被调用了");
    }

    public static void main(String[] args) {
        new Main(true);
    }
}